package com.biomatch.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biomatch.domain.Teacher;
import com.biomatch.dto.Pagination;
import com.biomatch.dto.TeacherAndCourses;

import java.util.List;

public interface TeacherService {
    IPage<Teacher> getAllByPage(Pagination pagination);

    List<Teacher> getAll();

    Teacher saveOrUpdate(Teacher teacher);

    Teacher delete(Teacher teacher);

    TeacherAndCourses addTeacherCourse(TeacherAndCourses teacherAndCourses);

}
